package com.example.service;

import com.example.common.base.service.BaseService;
import com.example.common.utils.ApiResult;
import com.example.model.entity.Supplies;
import com.example.model.query.SuppliesQuery;
import com.example.model.vo.SuppliesVo;

import java.util.List;


public interface SuppliesService extends BaseService<Supplies> {

	/**
	 * 用户信息分页查询
	 *
	 * @param query
	 * @return
	 */
	ApiResult<SuppliesQuery> pageUserVoByQuery(SuppliesQuery query) throws Exception;

	/**
	 * 添加
	 *
	 * @return
	 */
	ApiResult<Boolean> saveAd(SuppliesVo suppliesVo) throws Exception;

	
	/**
	 * 时间+序列
	 */
	public Long seqAlways() ;

	ApiResult<Boolean> update(SuppliesVo suppliesVo) throws Exception;

	ApiResult<SuppliesVo> getInfo(String id) throws Exception;

	ApiResult<Boolean> del(String id) throws Exception;

	ApiResult<List<Supplies>> getList() throws Exception;

}
